package com.xxgc.zde.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

/**
 * 游戏角色实体类
 */
@AutoDefine // 新增
@AutoMapper // 新增
@AutoRepository // 新增
// @Data自动生成set get方法
@Data
@Table(value = "zde_game_character", comment = "游戏角色表")
public class GameCharacterEntity {

    @ColumnComment("id")
    @ColumnId(mode = IdType.AUTO, comment = "id主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String id;

    //角色名
    @ColumnComment("角色名")
    private String characterName;

    //角色头像
    @ColumnComment("角色头像")
    private String characterAvatar;

    //视频大厅视频地址
    @ColumnComment("视频大厅视频地址")
    private String videoHallVideoUrl;

}